package com.example.test.advice.第五章_数组和集合.建议69_列表相等只需关系元素数据;

import java.util.ArrayList;
import java.util.Vector;

public class Client {

    public static void main(String[] args) {
        ArrayList<String> strs = new ArrayList<>();
        strs.add("A");
        Vector<String> strs2 = new Vector<>();
        strs2.add("A");
        System.out.println("strs.equals(strs2):"+strs.equals(strs2));
    }
}
